package com.glowdayz.glowmee.cmd;

/** 3차카테고리의 정보를 표현하는 Model 클래스 */
public class ThirdCategoryCMD {
	
	private int idThirdCategory;
	private int idSecondCategory;
	private String thirdCategoryText;
	private int sortKey;
	private int isDisplay;
	private String create_date;
	private String modified_date;
	
	public ThirdCategoryCMD() {
	}
	
	/** 추가용 */
	public ThirdCategoryCMD(int idSecondCategory, String thirdCategoryText, int sortKey, int isDisplay) {
		super();
		this.idSecondCategory = idSecondCategory;
		this.thirdCategoryText = thirdCategoryText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
	}
	
	/** 수정용 */
	public ThirdCategoryCMD(int idThirdCategory, int idSecondCategory, String thirdCategoryText, int sortKey, int isDisplay) {
		super();
		this.idThirdCategory = idThirdCategory;
		this.idSecondCategory = idSecondCategory;
		this.thirdCategoryText = thirdCategoryText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
	}

	public ThirdCategoryCMD(int idThirdCategory, int idSecondCategory,
			String thirdCategoryText, int sortKey, int isDisplay,
			String create_date, String modified_date) {
		super();
		this.idThirdCategory = idThirdCategory;
		this.idSecondCategory = idSecondCategory;
		this.thirdCategoryText = thirdCategoryText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}

	public int getIdThirdCategory() {
		return idThirdCategory;
	}

	public void setIdThirdCategory(int idThirdCategory) {
		this.idThirdCategory = idThirdCategory;
	}

	public int getIdSecondCategory() {
		return idSecondCategory;
	}

	public void setIdSecondCategory(int idSecondCategory) {
		this.idSecondCategory = idSecondCategory;
	}

	public String getThirdCategoryText() {
		return thirdCategoryText;
	}

	public void setThirdCategoryText(String thirdCategoryText) {
		this.thirdCategoryText = thirdCategoryText;
	}

	public int getSortKey() {
		return sortKey;
	}

	public void setSortKey(int sortKey) {
		this.sortKey = sortKey;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	@Override
	public String toString() {
		return "ThirdCategoryCMD [idThirdCategory=" + idThirdCategory
				+ ", idSecondCategory=" + idSecondCategory
				+ ", thirdCategoryText=" + thirdCategoryText + ", sortKey="
				+ sortKey + ", isDisplay=" + isDisplay + ", create_date="
				+ create_date + ", modified_date=" + modified_date + "]";
	}

}
